package com.biwin.module.security.api.exception;

import com.biwin.common.api.enums.IBwEnum;
import org.springframework.security.core.AuthenticationException;

/**
 * TODO
 *
 * @author biwin
 * @since 0.0.1
 */
public abstract class BiWinAuthenticationException extends AuthenticationException {
    public BiWinAuthenticationException(String msg) {
        super(msg);
    }

    public BiWinAuthenticationException(IBwEnum bwEnum) {
        super(bwEnum.getValue());
    }
}
